package com.atqinke.designpattern.creationtype.constructor;

/**
 * @BelongsProject: BasicConnection
 * @BelongsPackage: com.atqinke.DesignPattern.creation.constructor
 * @Author: NieHk
 * @CreateTime: 2022-08-26  11:32
 * @Description:
 * @Version: 1.0
 */
public class test {
    public static void main(String[] args) {
        Phone phone = new Phone.Builder()
                .cpu("inter")
                .memory("金士顿")
                .screen("华硕")
                .brand("三星")
                .builder();

        System.out.println(phone);
    }
}
